package com.loie.xcx.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.loie.xcx.mapper.PurchaseOrdersMapper;
import com.loie.xcx.model.bo.PurchaseOrders;
import com.loie.xcx.model.bo.PurchaseOrdersLine;
import com.loie.xcx.model.dto.IwinstanceQueryDTO;
import com.loie.xcx.service.PurchaseOrdersService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author testjava
 * @since 2023-10-03
 */
@Service
public class PurchaseOrdersServiceImpl extends ServiceImpl<PurchaseOrdersMapper, PurchaseOrders> implements PurchaseOrdersService {
    //final PurchaseOrdersMapper purchaseOrdersMapper;
    @Override
    public
    List<PurchaseOrders> getPurchaseOrdersList(IwinstanceQueryDTO iwinstanceQueryDTO) {
        return baseMapper.getPurchaseOrdersList(iwinstanceQueryDTO);
    }

    @Override
    public
    List<PurchaseOrdersLine> getPurchaseOrdersLineList(IwinstanceQueryDTO iwinstanceQueryDTO) {
        return baseMapper.getPurchaseOrdersLineList(iwinstanceQueryDTO);
    }
}
